package com.dormitory.management.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dormitory.management.system.entity.Room;
import com.dormitory.management.system.resp.RoomResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 房间表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Mapper
public interface RoomMapper extends BaseMapper<Room> {

    IPage<RoomResp> getRoomPage(IPage<RoomResp> page, @Param(Constants.WRAPPER) Wrapper<RoomResp> wrapper);
}
